/*
 * Creado por NIN
 * User: sebastian.lucas
 * Date: 19/04/2007
 * Time: 9:34
 */

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
using System.Diagnostics;

namespace CSE
{
	/// <summary>
	/// Description of Utils.
	/// </summary>
	public class Utils
	{
	    /*
	     * LoadBitmapResource
	     */
	    public static Bitmap LoadBitmapResource (string str)
	    {
	        System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Utils));
	        return ((System.Drawing.Bitmap)(resources.GetObject(str)));
	    }
	    
	    /*
	     * Trace
	     */
	    public static void Trace (string str)
	    {
#if DEBUG
	        Debug.WriteLine(str);
#endif
	    }
	}
}
